
let no1={
    template:'#no1'
}
let no2={
    template:'#no2'
}
let no3={
    template:'#no3'
}
let no4={
    template:'#no4'
}
let routes=[
    {path:'/',name:'no1',component:no1},
    {path:'/no2',name:'no2',component:no2},
    {path:'/no3',name:'no3',component:no3},
    {path:'/no4',name:'no4',component:no4}
]

let router=new VueRouter({
    routes
})
new Vue({
    el:"#box",
    router,
})